const mongoose = require("mongoose");
mongoose.Promise = require("bluebird");
const Schame = mongoose.Schema;
const { plugin } = require("./plugin/index");

mongoose.plugin(plugin); // 全局插件

module.exports = {
  mongoose,
  Schame
};
